//
//  CZCompanyCell.m
//  TCProject
//
//  Created by admin on 16/2/2.
//  Copyright © 2016年 wise-wing. All rights reserved.
//

#import "CZCompanyCell.h"
#import "NoHiligitButton.h"
@interface CZCompanyCell()

@property (weak, nonatomic) IBOutlet NoHiligitButton *statusButton;




@end
@implementation CZCompanyCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
    self.statusButton.selected = selected;
}

- (void)setCompany:(CZCompany *)company{
    _company = company;
    [self.statusButton setTitle:_company.name forState:UIControlStateNormal];
}

@end
